﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework;

namespace Jogo_Grupo2 
{
    class Cabana : Objeto2D
    {
        public Cabana(Texture2D textura,Vector2 posicao):base(textura,posicao)
        {
            this.texture = texture;
            this.position = posicao;

        }

        public override void Update(GameTime gameTime)
        {


            base.Update(gameTime);

        }
        public override void Draw(SpriteBatch spriteBatch)
        {
            spriteBatch.Draw(texture,new Vector2(position.X,position.Y),Color.White);
        }

    }
}
